package com.company.cloud.club.modules.db.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@Data
@EqualsAndHashCode(callSuper = false)
@ToString(callSuper = true)
@TableName("club_file_info")
public class FileInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String name;

    private String url;

    @TableField("video_id")
    private String videoId;

    private Integer duration;

    @TableField("user_id")
    private Integer userId;

    @TableField("res_id")
    private String resId;

    private String type;

    public FileInfo () {
        super();
    }

    public void setResUrl(String url) {
        this.setUrl(url);
    }

    public String getResUrl() {
        return this.url;
    }

}